// eslint-disable-next-line strict
module.exports = app => {
  // eslint-disable-next-line comma-spacing
  const { router, controller } = app;
  // eslint-disable-next-line spaced-comment
  // 登录
  router.get('/login', controller.user.loginPage);
  // 注册
  router.get('/register', controller.user.registerPage);
  // 设置
  router.get('/setting', app.middleware.loginChecks.loginCheck, controller.user.settingPage);
};
